package com.atguigu.daijia.customer.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @Author: zyj
 * @Date: 2022/8/25 16:51
 * @Version: 1.0
 * @Description: 微信小程序配置类
 */
@Component
@Data
@RefreshScope//动态刷新
@ConfigurationProperties(prefix = "wx.miniapp")
public class WxConfigProperties {
    private String appid;
    private String secret;

}
